package com.axjy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by asus on 2017/9/18.
 */
@Controller
public class DispatcherHandler {

    @GetMapping("{folder}/{page}/index")
    public String index(@PathVariable("folder")String folder,@PathVariable("page") String page){
        return folder+"/"+page;
    }
}
